﻿package model.business;

public class Store {
	
	private static String name = "DH10DT";
	private static String status;
	private static Store instance;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public synchronized static Store getInstance() {
		if (instance == null) 
			instance = new Store();
		return instance;
	}

	public boolean initSystem() {
		try {
			return true;
		} catch (Exception e) {
			System.out.println("Store - initSystem: error");
		}
		return false;
	}

	public void saveCurrentCon() {

	}

	public void shutDown() {

	}

}
